resize clist if adjustments are NULL and list size has changed
authorLars Hamann <lars@gtk.org>
Sat, 7 Nov 1998 14:29:22 +0000 (14:29 +0000)
committerLars Hamann <lars@src.gnome.org>
Sat, 7 Nov 1998 14:29:22 +0000 (14:29 +0000)
commit9d874ec20a8f42a34a5f35fdfff9bf2164bc8420
tree118584f438397d4857a755f10bcc31e71009a1fa
parent75fff482b91691ca465d8f343ce018955fb212fe
resize clist if adjustments are NULL and list size has changed

Fri Nov  6 23:29:40 1998  Lars Hamann  <lars@gtk.org>

* gtk/gtkclist.c (real_clear) (adjust_adjustments): resize clist
  if adjustments are NULL and list size has changed
(gtk_clist_size_request): return real list requsition,
  if adjustments are NULL.
(size_allocate_columns): use button->requisition.with, if column
  width is not set.
(list_requisition_width): new function. return full list width.
(gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): do not
auto create adjustments.
(gtk_clist_motion) (move_vertical) (move_horizontal):
  check adjustment != NULL.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkclist.c
gtk/gtkclist.h